package com.ubing.boot.notesforjava.test.NIO;

/**
 * @ClassName : test_interface_use
 * @Description : test_interface_use
 * @Author : ubing
 * @Date: 2023-03-25 21:32
 */
public class test_interface_use implements test_interface{

    @Override
    public void say() {
        System.out.println("bbq");
    }


    public static void main(String[] args) {
        test(new test_interface_use());
    }

    public static void test(test_interface testInterface){
        System.out.println("begin");
        testInterface.say();
        System.out.println("over");
    };
}
